package com.heima.bean;

import java.io.Serializable;

import org.apache.solr.client.solrj.beans.Field;

public class Item implements Serializable{


	private static final long serialVersionUID = 4140023330011488327L;
	@Field("id")
	private String id;
	@Field("title")
	private String title;
	@Field("price")
	private float price;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "Item [id=" + id + ", title=" + title + ", price=" + price + "]";
	}
	
	

	
	
}
